﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;
using Microsoft.Xna.Framework.Content;

namespace ProtetoresDaMata
{
    public class PhoneApplicationPageBase : PhoneApplicationPage
    {

        public ContentManager ContainerContent
        {
            get
            {
                return (Application.Current as App).Content;

            }
        }

        public string GetQueryString(string QueryString, string DefaultValue)
        {
            string result = DefaultValue;

            if (NavigationContext.QueryString[QueryString] != "")
            {
                result = NavigationContext.QueryString[QueryString];
            }
            
            return result;
        }


    }
}
